﻿@using Nop.Core.Infrastructure;
@{
    var displayMiniProfiler = EngineContext.Current.Resolve<Nop.Core.Domain.StoreInformationSettings>().DisplayMiniProfilerInPublicStore;
    
    //resources
    Html.AppendCssFileParts("~/Content/smoothness/jquery-ui-1.8.17.custom.css");
    Html.AppendCssFileParts("~/Content/smoothness/jquery-ui-1.8.17.custom.css");

    Html.AppendScriptParts("~/Plugins/Widgets.NivoSlider/Scripts/jquery.nivo.slider.js");
    Html.AppendScriptParts("~/Scripts/jquery.dcmegamenu.1.3.3.js");
    Html.AppendScriptParts("~/Scripts/jquery.dcmegamenu.1.3.3.min.js");
    Html.AppendScriptParts("~/Scripts/jquery.hoverIntent.minified.js");

    Html.AppendScriptParts("~/Scripts/slimbox2.js");
    Html.AppendScriptParts("~/Scripts/public.accordion.js");
    Html.AppendScriptParts("~/Scripts/public.onepagecheckout.js");
    Html.AppendScriptParts("~/Scripts/public.ajaxcart.js");
    Html.AppendScriptParts("~/Scripts/public.common.js");
    Html.AppendScriptParts("~/Scripts/jquery.validate.unobtrusive.min.js");
    Html.AppendScriptParts("~/Scripts/jquery.unobtrusive-ajax.min.js");
    Html.AppendScriptParts("~/Scripts/jquery.validate.min.js");
    Html.AppendScriptParts("~/Scripts/jquery-ui.min.js");
    Html.AppendScriptParts("~/Scripts/jquery-1.7.1.min.js");
}

<!DOCTYPE html>
<html @Html.Partial("LanguageAttributes")>
<head>
    <title>@Html.NopTitle(true)</title>
    <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
    <meta name="description" content="@(Html.NopMetaDescription())" />
    <meta name="keywords" content="@(Html.NopMetaKeywords())" />
    @*This is used so that themes can inject content into the header*@
    @Html.Partial("Head")
    @Html.Widget("head_html_tag")
    @*custom css*@
    @Html.NopCssFiles(this.Url, ResourceLocation.Head)
    <link href="/Themes/Modern/Content/dcmegamenu.css" rel="stylesheet" type="text/css">
    <link href="/Themes/Modern/Content/forum.css" rel="stylesheet" type="text/css">
    @Html.NopScripts(this.Url, ResourceLocation.Head)
    @Html.NopCanonicalUrls()
    @Html.Action("RssHeaderLink", "News")
    @Html.Action("RssHeaderLink", "Blog")
    @*Favicon - upload favicon.ico file to the root directory*@
    @Html.Action("Favicon", "Common")
    @if (displayMiniProfiler)
    {
        @StackExchange.Profiling.MiniProfiler.RenderIncludes()
    }
</head>
<body>
    @RenderBody()
    @Html.NopCssFiles(this.Url, ResourceLocation.Foot)
    @Html.NopScripts(this.Url, ResourceLocation.Foot)
</body>
</html>
